Adding and removing files

IMPORTANT: If you have created new source files that are needed for building a project's targets, you must add them to the project. You must also add new source files to the project in order to browse their symbols.
You can add and remove files to and from projects in the Project Editor. Note that the PDF of the project that you add (remove) files to (from) must be writable.

Choose Tools > Project Editor in any open SNiFF+ tool.
To add or remove files, choose Project > Add/Remove Files to/from <Project>....
The Add/Remove Files dialog appears.

3. Select the file(s) to be added/removed.
4. To add selected file(s) to the project, press the Add button.
   When you add a file to a project:
   - the file is parsed and is added to the list of files in the project's PDF
   - the file's symbol information is sent to the Symbol Table and can be browsed in SNiFF+
   - the file is available for Make Support
   - the project has been modified
5. To remove the selected file(s) from the current project, press the Remove button.
   When you remove a file from a project:
   - the file is removed from the list of files in the project's PDF
   - symbol information for this file is removed from memory
   - the project has been modified

     | Note
     | The file is only removed from the SNiFF+ project, but not physically deleted.

6. Save the project.

Adding Make Support Files to a project
To add Make Support files to a group of projects:
In the Project Editor

Check out the PDFs of all the projects you want to modify.
In the Project Tree, checkmark these projects.
Choose Project > Attributes of Checkmarked Projects....
The Group Project Attributes dialog appears. To learn how to use this dialog, please refer to Using the Group Project Attributes dialog.

In the Group Project Attributes dialog

Select the File Types node.
Press the Show All button.
The File Types List now shows the complete list of file types defined in your Preferences.
Select Make Support in the File Types List and press the Add File Type button.
Under Merge Options, select the Add checkbox.
Press the Set All button.
The attributes you've modified now apply to all the projects checkmarked in the Project Tree. SNiFF+ now indicates that these projects have been modified.
Press OK to close the Group Project Attributes dialog.

In the Project Editor

- Save all modified projects.